home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / os.16 < prev    next >
Text File  |  1992-02-06  |  558b  |  13 lines

  1. signal os event timed entries
  2.  
  3. Q:  Can I use signal() in my code?  How can I do asynchronous event processing?
  4.  
  5. A:  Signals work with Mach, but in a multi-threaded application, you can never know which thread will receive the signal.  This can make it difficult to write a robust application.  Timed entries are a better way to solve most of the problems that you would want signal() for.  Or Mach IPC can be used for asynchronous processing.  The functions DPSAddTimedEntry() and DPSAddFD() might be useful.
  6.  
  7. QA16
  8.  
  9. Valid for 1.0 
  10. Not checked yet for 2.0 
  11.  
  12.  
  13.